<div class="admin">
<div class="tab panel dux-box admin-panel">
    <div class="panel-head"><strong>编辑分类</strong></div>
    <div class="padding border-bottom">
        <a href="{:U('ArticleCat/index')}" class="button button-small border-green">分类列表</a>
    </div>
    <div class="fixed-empty"></div>
    <form id="myform" action="" method="post">
        <input type="hidden" name="id" value="{$past['cat_id']}">
        <table class="table tb-type2">
            <tbody>
            <tr>
                <td width="10%"><label class="validation" for="gc_name">分类名称：</label></td>
                <td width="30%"><input type="text" value="{$past['cat_name']}" name="cat_name" id="gc_name" maxlength="20" class="input input_big"></td>
                <td></td>
            </tr>

            <tr>
                <td>是否显示：</td>
                <td>
                    <div class="field">
                        <div class="button-group button-group-small radio">
                            <if condition="$past['show_in_nav']">
                                <label class="button active"><input name="show_in_nav" checked="checked" value="1" type="radio"><span class="icon icon-check"></span> 是</label>
                                <label class="button "><input name="show_in_nav" value="0" type="radio"><span class="icon icon-times"></span> 否</label>
                                <else />
                                <label class="button"><input name="show_in_nav" value="1" type="radio"><span class="icon icon-check"></span> 是</label>
                                <label class="button active"><input name="show_in_nav" checked="checked" value="0" type="radio"><span class="icon icon-times"></span> 否</label>
                            </if>
                        </div>
                    </div>
                </td>
                <td></td>
            </tr>
            <tr>
                <td width="10%"><label class="validation" for="gc_name">排序：</label></td>
                <td width="30%"><input type="text" value="{$past['sort']}" name="sort" id="sort" maxlength="20" class="input input_big"></td>
                <td></td>
            </tr>
            <tr>
                <td><label class="validation" for="gc_name">关键字：</label></td>
                <td><input type="text" value="{$past['keywords']}" name="keywords" id="keywords" maxlength="20" class="input input_big"></td>
                <td></td>
            </tr>
            <tr>
                <td>描述：</td>
                <td><textarea name="cat_desc" style="width:360px;height:100px" class="input input_big">{$past['cat_desc']}</textarea></td>
                <td></td>
            </tr>
            </tbody>
            <tfoot class="panel-foot">
            <tr>
                <td colspan="3"><input class="button bg-main" type="submit" value="提交"></td>
            </tr>
            </tfoot>
        </table>
    </form>
</div>
</div>
